package threadUtils;

import java.util.concurrent.CountDownLatch;

public class Test2 extends BaseCountDown {


    public Test2(CountDownLatch latch) {
        super("TestCountDown 2", latch);
    }

    @Override
    public void read() {
        try {
            Thread.sleep(8000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(this.getName() + " is up");
    }
}
